home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / Insert Menu / Shapes / polygon.txt < prev    next >
Encoding:
Text File  |  2000-04-06  |  262 b   |  9 lines

  1. // arbitrary X,Y FINITE (no CSG) shape
  2. // A complex example for a polygon is the letter "P":
  3. polygon
  4. {
  5.   12, // number of points
  6.   <0, 0>, <0, 6>, <4, 6>, <4, 3>, <1, 3>, <1, 0>, <0, 0>, // list of <u,v> points
  7.   <1, 4>, <1, 5>, <3, 5>, <3, 4>, <1, 4>
  8. }
  9.